package cn.heyige.backend.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "验证码发送响应")
public class SendCodeResponse {
    
    @Schema(description = "验证码有效期(秒)", example = "300")
    private Integer expiresIn;
    
    @Schema(description = "重新发送间隔(秒)", example = "60")
    private Integer interval;
    
    @Schema(description = "验证码长度", example = "6")
    private Integer codeLength;
}